package com.policyCloud.policyOauth.feign;

import com.policyCloud.policyOauth.exception.ErrorCodes;
import com.policyCloud.policyOauth.exception.RemoteException;
import com.policyCloud.policyOauth.until.json.JsonUtil;
import org.springframework.stereotype.Component;


@Component
public class UserFallbackClient implements UserClient {


    @Override
    public JsonUtil getRoleAndPerm(JsonUtil userMap) {
        throw new RemoteException(ErrorCodes.USER_SERVICE_CALL_FAILURE);
    }

}
